package com.example.mapper;

import com.example.pojo.OracleColumn;
import com.example.pojo.OracleTable;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

/**
 * 查询oracle表信息
 *
 * @author XF
 */
@Component
public interface OracleMapper {

    List<OracleTable> listTable(String time);

    OracleTable getTableByName(String tableName);

    List<OracleColumn> listColumn(String tableName);

    List<Map<String, Object>> listTableField(String tableName);

    List<Map<String, Object>> getPkByTable(String tableName);
}
